﻿using System;
using System.ComponentModel.DataAnnotations.Schema;

namespace MediumApi.Db
{
    /// <summary>
    /// 页面
    /// </summary>
    [Table("tb_pagetable")]
    public class PageTable
    {
        public int Id { get; set; }
        /// <summary>
        /// 页面名
        /// </summary>
        public string PageName { get; set; }
        /// <summary>
        /// 页面等级
        /// </summary>
        public int PageGrade { get; set; }
        /// <summary>
        /// 上级ID
        /// </summary>
        public int ManagerId { get; set; } = 0;
        /// <summary>
        /// 页面路径
        /// </summary>
        public string PagePath { get; set; }
       
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreatedAt { get; set; } = DateTime.UtcNow;
    }
}
